
#head{
  border-bottom: 1px #ddd solid;
}
//定义wrapper
.mywrap(){
  width: 1000px;
  margin: 0 auto;
}
#head .wrapper{
  .mywrap();
  height: 100px;
  background: url("../../img/img-code/logo.png") no-repeat 0 29px,url("../../img/img-code/c5bc5b4005c9413888f7d1127a734609.jpg") no-repeat right 0;
}
#body{
  background-color: #f8f8f8;
  position: relative;
}
#body .wrapper{
  .mywrap();
  height: 520px;
  background: url("../../img/img-code/18cc14f7f9b94b1ebac54679f569d7d2.png") no-repeat 0 154px;
  position: relative;
}
//登入框
#body .wrapper .login {
  width: 350px;
  border: solid 1px #ddd;
  position: absolute;
  top: 54px;
  right: 0px;
  .top {
    height: 52px;
    border-bottom: solid 1px #ddd;
    overflow: hidden;
    cursor: pointer;
    .top-tab1 {
      float: left;
      line-height: 52px;
      text-align: center;
      font-weight: 600;
      width: 50%;
      position: relative;
      color: red;
      span {
        position: absolute;
        height: 26px;
        border-right: solid 1px #ddd;
        right:1px;
        top: 13px
      }
    }
    .top-tab2 {
      width: 50%;
      float: left;
      font-weight: 600;
      line-height: 52px;
      text-align: center;
    }
  }
  .middle {
    width: 100%;
    padding-bottom: 30px;
    position: relative;
    background: white;
    height: 254px;
    .byplone {
      height: 254px;
      width: 100%;
      position: absolute;
      display: none;
      .click-code {
        cursor: pointer;
        font-size: 16px;
        color: gray;
        width: 130px;
        position: relative;
        left: 220px;
        top: 15px;
        span {
          font-size: 12px;
          position: relative;
          top: -3px;
          margin-left: 2px;
        }
      }
      .telephonelogin {

        position: relative;
        margin-top: 25px;
        left: 40px;
        i {
          top: 13px;
          left: 8px;
          color: gray;
          position: absolute;
        }
        input {
          border: 1px solid #ddd;
          height: 40px;
          width: 210px;
          padding: 0 30px;
        }
      }
      .code {

        position: relative;
        margin-top: 25px;
        left: 40px;
        i {
          top: 13px;
          left: 8px;
          color: gray;
          position: absolute;
        }
        input {
          border: 1px solid #ddd;
          height: 36px;
          width: 210px;
          padding: 0 30px;
        }
      }
      .telecode {

        position: relative;
        margin-top: 15px;
        left: 40px;
        span {
          position: absolute;
          background: #eee;
          border-left: #d5d5d5 solid 1px;
          width: 96px;
          text-align: center;
          font-size: 14px;
          right: 79px;
          line-height: 40px;
          color: gray;
          cursor: pointer;
        }
        input {
          border: 1px solid #ddd;
          height: 36px;
          width: 270px;
        }
      }
      .imgcode{
        width: 270px;
        height: 24px;
        margin-top: 25px;
        position: relative;
        border-radius: 13px;
        box-sizing: border-box;
        border: 1px solid #ddd;
        margin-left: 40px;
        cursor: pointer;
        img{
          width: 63px;
          height: 100%;
          position: absolute;
        }
        .codeimg{
          width: 270px;
          position: absolute;
          height: 84px;
          border-radius: 10px;
          top:-100px;
          left: 0px;
          background: url("../../img/img-code/t011e72d892d1b658c1.jpg") no-repeat;
          background-size: cover;
          img{
            width: 63px;
            height: 24px;
            position: absolute;
          }
        }
      }
      #loginbtn {
        height: 40px;
        width: 270px;
        background: #E31436;
        color: white;
        text-align: center;
        line-height: 40px;
        margin-left: 40px;
        margin-top: 25px;
        border: 0;
      }
      .freelogin {
        height: 40px;
        width: 270px;
        position: relative;
        left: 40px;
        margin-top: 16px;
        input {
          width: 15px;
          height: 15px;
          color: #55a532;
        }
        span {
          font-size: 14px;
          color: gray;
          position: relative;
          top: -2px;
        }
        a {
          font-size: 14px;
          color: gray;
          position: relative;
          top: -2px;
          left: 75px;
          span {
            position: relative;
            top: 0px;
            border-radius: 50%;
          }
        }
      }
    }
    .bymail {
      height: 230px;
      width: 100%;
      position: absolute;
      .mail {

        position: relative;
        margin-top: 25px;
        left: 40px;
        i {
          top: 8px;
          left: 8px;
          color: gray;
          position: absolute;
        }
        input {
          border: 1px solid #ddd;
          height: 36px;
          width: 210px;
          padding: 0 30px;
        }
      }
      .code {

        position: relative;
        margin-top: 25px;
        left: 40px;
        i {
          top: 8px;
          left: 8px;
          color: gray;
          position: absolute;
        }
        input {
          border: 1px solid #ddd;
          height: 36px;
          width: 210px;
          padding: 0 30px;
        }
      }
      #loginbtn1 {
        height: 40px;
        width: 270px;
        background: #E31436;
        color: white;
        text-align: center;
        line-height: 40px;
        margin-left: 40px;
        margin-top: 25px;
        border: 0;
      }
      .freelogin {
        height: 40px;
        width: 270px;
        position: relative;
        left: 40px;
        margin-top: 16px;
        input {
          width: 15px;
          height: 15px;
          color: #55a532;
        }
        span {
          font-size: 14px;
          color: gray;
          position: relative;
          top: -2px;
        }
        a {
          font-size: 14px;
          color: gray;
          position: relative;
          top: -2px;
          left: 75px;
          span {

            position: relative;
            top: 0px;
            border-radius: 50%;
          }
        }
      }
    }
    border: 1px solid #ddd;
  }
  .foot {
    margin-left: 40px;
    line-height: 40px;
    position: relative;
    ul {
      overflow: hidden;
      li {
        float: left;
        margin-left: 10px;
      }
      li:nth-of-type(1) a {
        color: chartreuse;
      }
      li:nth-of-type(2) a {
        color: red;
      }
      li:nth-of-type(3) a {
        color: orange;
      }
      li:nth-of-type(4) a {
        color: dodgerblue;
      }
    }
    .forget {
      margin-left: 80px;
      color: #e31436;
      font-size: 14px;
      span {
        font-size: 16px;
        background-color: #e31436;
        color: white;
        border-radius: 50%;
      }
    }
  }
}

#foot {
  margin-top: 30px;
  .wrapper {
    .mywrap();
    ul {
      overflow: hidden;
      li {
        float: left;
        padding: 0 20px;
        position: relative;
        a {
          color: dimgray;
          font-size: 13px;
        }
        span {
          position: absolute;
          right: 0px;
          border-right: 1px dimgray solid;
          height: 13px;
          top: 5px;
        }
      }
    }
    p:nth-of-type(1) {
      margin-left: 120px;
      margin-top: 10px;
      span {
        color: darkgray;
        font-size: 12px;
        margin-left: 40px;
      }
      a {
        color: dimgray;
        font-size: 12px;
        margin-left: 40px;
      }
    }
      p:nth-of-type(2) {
        margin-left: 240px;
        margin-top: 5px;
        position: relative;
        img{
          height: 16px;
          position: absolute;
          left: 20px;
          top:3px;
        }
        span{
          color: darkgray;
          font-size: 12px;
          margin-left: 25px;
        }
        a{
          color: darkgray;
          font-size: 12px;
          margin-left: 40px;
        }
      }
    p:nth-of-type(3){
      margin-left: 400px;
      margin-top: 5px;
      position: relative;
      img:nth-of-type(1){
        height: 27px;
      }
      a{
        margin-left: 5px;
      img:nth-of-type(2){
        height: 30px;
        margin-left: 10px;
      }
      }
    }
  }
}
.true{
  background: url("../../img/img-code/sprite.png") no-repeat -29px -102px ;
  background-size: cover;
}
.flase{
  background: url("../../img/img-code/sprite.png") no-repeat -394px -103px;
  background-size: cover;
}
.judge{
  width: 20px;
  height: 20px;
  position: absolute;
  top:15px;
  left: 280px;
}
.imgcode{
  .judge{
    top:2px;
  }
}